package com.pl.itsense.gwt.clientzone.client;

import com.google.gwt.user.client.rpc.AsyncCallback;
import com.pl.itsense.gwt.clientzone.model.MemberDTO;

/**
 * The async counterpart of <code>GreetingService</code>.
 */
public interface ClientZoneServiceAsync {
	void login(String login,String password,AsyncCallback<MemberDTO> callback) throws IllegalArgumentException;
	void register(MemberDTO memberDTO,AsyncCallback<MemberDTO> callback) throws IllegalArgumentException;
	void update(MemberDTO memberDTO,AsyncCallback<MemberDTO> callback) throws IllegalArgumentException;
	void event(Long memberId, int eventType, String msg, AsyncCallback<Boolean> callback) throws IllegalArgumentException;
	void removeAccount(Long memberId,AsyncCallback<Boolean> callback) throws IllegalArgumentException;



}
